package com.hurt.competition.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hurt.competition.admin.dto.CompetitionReq;
import com.hurt.competition.admin.model.Competition;
import com.hurt.competition.common.vo.PageResult;

public interface CompetitionService extends IService<Competition> {

    PageResult<Competition> queryList(CompetitionReq req);

    /**
     * 发布比赛
     * @param competition
     */
    void deploy(Competition competition);
}
